package com.cn.springcloudshop.mapper;

import com.cn.springcloudshop.model.YmShopReceivingAddress;
import com.cn.springcloudshop.model.YmShopReceivingAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YmShopReceivingAddressMapper {
    int countByExample(YmShopReceivingAddressExample example);

    int deleteByExample(YmShopReceivingAddressExample example);

    int deleteByPrimaryKey(Long receivingId);

    int insert(YmShopReceivingAddress record);

    int insertSelective(YmShopReceivingAddress record);

    List<YmShopReceivingAddress> selectByExample(YmShopReceivingAddressExample example);

    YmShopReceivingAddress selectByPrimaryKey(Long receivingId);

    int updateByExampleSelective(@Param("record") YmShopReceivingAddress record, @Param("example") YmShopReceivingAddressExample example);

    int updateByExample(@Param("record") YmShopReceivingAddress record, @Param("example") YmShopReceivingAddressExample example);

    int updateByPrimaryKeySelective(YmShopReceivingAddress record);

    int updateByPrimaryKey(YmShopReceivingAddress record);
}